package com.groupbuying.orderconsumer.connector;

import com.groupbuying.orderconsumer.utils.apiresult.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @InterfaceName JGFeign
 * @Description: TODO   极光推送中心
 * @Author srlg3
 * @Date 2019/12/19
 * @Version V1.0
 **/
@Service("jgFeign")
@FeignClient("service-jgpush")
public interface JGFeign {

    /** 
     * @MethodName: orderMessagePush
     * @Description: TODO   推送订单信息极光
     * @param storeUuid 商户id
     * @param orderAmount   订单金额
     * @Return: com.groupbuying.orderconsumer.utils.apiresult.ApiResult
     * @Author: srlg3
     * @Date: 2019/12/19
     */
    
    @PostMapping("/msgpush/orderMessagePush")
    ApiResult orderMessagePush(@RequestParam String storeUuid,@RequestParam String orderAmount);
}
